<?php
/* @var $article Article */
$this->pageTitle = $article->title . ' - ' . app()->name;

cs()->registerMetaTag($article->meta_description, 'description');
cs()->registerMetaTag($article->meta_keyword, 'keywords');

$category_url = url("/content/blog", array("id" => $article->cat->id, "alias" => CHtml::encode($article->cat->alias)));
$this->breadcrumbs = array(t('MODULE_NAME', 'content'), $article->cat->name => $category_url, $article->title);
?>
<div class="component_heading">
    <h1><?php echo CHtml::encode($article->title) ?></h1>
</div>
<div class="component_info">
    <strong><?php echo t('LBL_CATEGORY', 'content') ?>: </strong><?php echo CHtml::link(CHtml::encode($article->cat->name), $category_url); ?> <br/>
    <strong><?php echo t('LBL_UPDATE_DATE', 'content') ?>: </strong><?php echo $article->update_date ?>
</div>
<div class="component_content">
    <?php echo $article->introtext ?>
    <?php echo $article->fulltext ?>
</div>

<?php
//$this->renderPartial('_comment', array('article' => $article, 'comment' => $comment, 'comment_list' => $comment_list));?>